﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Item.Master" AutoEventWireup="true"
    CodeBehind="AreaMaintanceDetail.aspx.cs" Inherits="SGRapidForm.Foundation.AreaMaintanceDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" runat="server">
    <script src="AreaMaintanceDetail.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="server">
   <div class="ui-menu">
        <uc:Menu ID="menu1" runat="server" DataFile="../Views/Foundation/Menu/AreaMaintanceDetail.xml"
            PageCode="AreaMaintanceDetail" />
    </div>
    <div class="ui-wrapper">
        <div class="ui-hidden">
            <dx:ASPxLabel ID="lblKeyid" ClientInstanceName="lblKeyid" runat="server" />
            <dx:ASPxLabel ID="lblParentKeyid" ClientInstanceName="lblParentKeyid" runat="server" />
        </div>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblAreaName" runat="server" ForeColor="Red" Text="地区名称：" AssociatedControlID="txtAreaName" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtAreaName" ClientInstanceName="txtAreaName" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="地区名称必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblAreaCode" runat="server" Text="地区编码：" AssociatedControlID="txtAreaCode" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtAreaCode" ClientInstanceName="txtAreaCode" runat="server" Enabled="false"
                    Width="120px"  >
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblIsSys" runat="server" Text="是否系统数据：" AssociatedControlID="rblIsSys" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblIsSys" ClientInstanceName="rblIsSys" runat="server"
                    RepeatDirection="Horizontal" RepeatLayout="Table" Width="120">
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" />
                        <dx:ListEditItem Text="否" Value="false" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblHelpCode" runat="server" Text="助记码：" AssociatedControlID="txtHelpCode" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtHelpCode" ClientInstanceName="txtHelpCode" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="助记码必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblAdminAreacd" runat="server" Text="地区级别编码：" AssociatedControlID="txtAdminAreacd" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtAdminAreacd" ClientInstanceName="txtAdminAreacd" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="地区级别必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lb1AdminAreaName" runat="server" Text="地区级别名称：" AssociatedControlID="txtAdminAreaName" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtAdminAreaName" ClientInstanceName="txtAdminAreaName" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="地区级别名称必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li></li>
            <li></li>
        </ul>
        <div class="ui-validation">
            <dx:ASPxValidationSummary ID="vsSummary" runat="server" RenderMode="BulletedList"
                Width="100%" ClientInstanceName="validationSummary" ShowErrorsInEditors="false"
                ShowErrorAsLink="true">
            </dx:ASPxValidationSummary>
        </div>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforadd">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToAdd" ClientInstanceName="btnSaveToAdd" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveAndContinueToAdd" ClientInstanceName="btnSaveAndContinueToAdd"
                    runat="server" Text="保存完继续新增" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveAndContinueToAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnResetForAdd" ClientInstanceName="btnResetForAdd" runat="server"
                    Text="重 置" AutoPostBack="false">
                    <ClientSideEvents Click="doResetForAdd" />
                </dx:ASPxButton>
            </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforedit">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToEdit" ClientInstanceName="btnSaveToEdit" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForEdit" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnCancelForEdit" ClientInstanceName="btnCancelForEdit" runat="server"
                    Text="取 消" AutoPostBack="false">
                    <ClientSideEvents Click="doCancelForEdit" />
                </dx:ASPxButton>
            </li>
        </ul>
    </div>
</asp:Content>
